<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link rel="stylesheet" type="text/css" href="./Public/Home/css/reg.css"/>
<link rel="stylesheet" type="text/css" href="./Public/Home/bootstrap/css/bootstrap.min.css"/>
<script src="./Public/Home/js/jquery-1.8.2.min.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">
	$(function(){
		var imgSrc = $('#code').attr('src');
           $('#code').click(function(){
				//设置验证码图片的地址
				$('#code').attr('src',imgSrc + "&r=" + Math.random());
			})
	})
</script>
</head>
<body>
<div id="content" ">
	<div class="all">
		<div id="topall">
			<div class="top"><a href="<?php echo U('Index/index')?>"></a></div>
			<div class="right">
				<div class="right-1">
					<span class="title">欢迎注册优酷</span>
				</div>
				<div class="right1-2">
			       <form class="form-horizontal" method="post" action="">
						  <div class="form-group" >
						    <label for="inputEmail3" style="height: 30px;" class="col-sm-2 control-label"></label>
						    <div class="col-sm-10" >
						      <input type="text" class="form-control" name="username" placeholder="手机号">
						    </div>
						  </div>
						  <div class="form-group">
						    <label for="inputPassword3" class="col-sm-2 control-label"></label>
						    <div class="col-sm-10">
						      <input type="password" class="form-control" name="password" placeholder="请输入6~16位密码">
						    </div>
						  </div>
						  <div class="form-group">
						    <label for="inputPassword3" class="col-sm-2 control-label"></label>
						    <div class="col-sm-10">
						      <input name="code" type="text" class="form-control" style="width: 130px;position: relative;">
						       <img src="<?php echo U('code')?>" id='code' style="cursor: pointer; width:80px;height: 40px;  position: absolute;left:166px; top: -5px;"/>
						    </div>
						  </div>
						  <div class="form-group">
						    <div class="col-sm-offset-2 col-sm-10">
						      <div class="checkbox" style="margin-top: -10px;">
						        <label>
						          <input type="checkbox"> <span style="color: #909090;font-size: 12px;">同意 优酷注册协议及版权声明</span>
						        </label>
						      </div>
						    </div>
						  </div>
						  <div class="form-group">
						    <div class="col-sm-offset-2 col-sm-10">
						      <button type="submit" class="btn btn-primary  btn-block">注 册</button>
						    </div>
						    <div class="other">
						    	<span>已有账户 
						    		<a href="<?php echo U('Login/index')?>">直接登录</a>
						    	</span>
						    </div>
						    <div class="or">
					    		<span>或</span>
					    	</div>
					    	<div class="inner">
					    		<ul>
					    			<li><a href="" class="qq"></a></li>
					    			<li><a href="" class="qq"></a></li>
					    			<li><a href="" class="qq"></a></li>
					    			<li><a href="" class="qq"></a></li>
					    		</ul>
					    		<span>其他方式</span>
					    	</div>
						  </div>
					</form>
				</div>
			</div>
		</div>
	</div>
</div>
</body>
</html>
